.class public Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Lcom/waiqin365/base/login/mainview/TitleBar;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method private a()V
    .locals 5

    const/4 v4, 0x0

    const/16 v3, 0x8

    const v0, 0x7f0c0444

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f08018d

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c0445

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_0

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_0
    const v0, 0x7f0c0446

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_1

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_1
    const v0, 0x7f0c0448

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    const v1, 0x7f0c0447

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    if-eqz v0, :cond_2

    invoke-static {p0}, Lcom/waiqin365/lightapp/kaoqin/NotificationReceiver;->d(Landroid/content/Context;)Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-virtual {v1, v4}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_2
    :goto_0
    const v0, 0x7f0c044a

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    const v1, 0x7f0c0449

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    if-eqz v0, :cond_3

    invoke-static {p0}, Lcom/waiqin365/lightapp/kaoqin/NotificationReceiver;->e(Landroid/content/Context;)Z

    move-result v2

    if-eqz v2, :cond_5

    invoke-virtual {v1, v4}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_3
    :goto_1
    return-void

    :cond_4
    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto :goto_0

    :cond_5
    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto :goto_1
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    const v3, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->back()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/login/fragment/activity/IMSetSoundActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v3, v2}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_2
    const-string/jumbo v0, "daily_tixing"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/login/fragment/activity/DailyTixingSettingActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v3, v2}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_3
    const-string/jumbo v0, "kq_tixing"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kaoqin/TiXingActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v3, v2}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_4
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v3, v2}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c0445 -> :sswitch_1
        0x7f0c0446 -> :sswitch_2
        0x7f0c0448 -> :sswitch_3
        0x7f0c044a -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0300b0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/XiaoxiSettingActivity;->a()V

    return-void
.end method
